package com.googlecode.hmvc4gwt.example.hmvcblog.server.repository.blog.entry.comment;

import java.util.List;

import com.googlecode.hmvc4gwt.example.hmvcblog.server.domain.blog.BlogEntry;
import com.googlecode.hmvc4gwt.example.hmvcblog.server.domain.blog.BlogEntryComment;
import com.googlecode.hmvc4gwt.example.hmvcblog.server.repository.IRepository;

public interface IBlogEntryCommentRepository extends IRepository {

	public BlogEntryComment findById(int blogEntryCommentId);
	
	public List<BlogEntryComment> findByBlogEntry(BlogEntry blogEntryComment);
	
	public void addBlogEntryComment(BlogEntryComment blogEntryComment);
	
	public void removeBlogEntryComment(BlogEntryComment blogEntryComment);
	
	public void updateBlogEntryComment(BlogEntryComment blogEntryComment);
}
